package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Children;
import org.hxyjs.entity.Children;
import org.hxyjs.entity.ChildrenExample;

public interface ChildrenMapper {
    long countByExample(ChildrenExample example);

    int deleteByExample(ChildrenExample example);

    int deleteByPrimaryKey(String cno);

    int insert(Children record);

    int insertSelective(Children record);

    String getMaxCno();

    List<Children> selectByPno(String pno);

    List<Children> getChildrenByPage(Map map);

    List<Children> selectByExample(ChildrenExample example);

    Children selectByPrimaryKey(String cno);

    int updateByExampleSelective(@Param("record") Children record, @Param("example") ChildrenExample example);

    int updateByExample(@Param("record") Children record, @Param("example") ChildrenExample example);

    int updateByPrimaryKeySelective(Children record);

    int updateByPrimaryKey(Children record);
}